var AssetsFileArr = [
    //图集
    {url:"res/atlas/game.atlas",type:Laya.Loader.ATLAS},
    {url:"res/atlas/common.atlas",type:Laya.Loader.ATLAS},
    {url:"res/atlas/rank.atlas",type:Laya.Loader.ATLAS},
    {url:"res/atlas/ads.atlas",type:Laya.Loader.ATLAS},
    // {url:"ani/finger.ani",type:Laya.Loader.JSON},
    // {url:"ani/loading.ani",type:Laya.Loader.JSON},
];

var loadFile = [
    {url:"res/atlas/loading.atlas",type:Laya.Loader.ATLAS},
    {url:"res/atlas/dlg.atlas",type:Laya.Loader.ATLAS},
    // {url:"fonts/mini.ttf",type:Laya.Loader.ATLAS},
];
// if(Config.channelID == 101){
//     loadFile.push({url:"res/atlas/channel.atlas",type:Laya.Loader.ATLAS});
// }

var loadMusic = []
loadMusic.push({url:Config.strHeadResHuaWei + "Audios/bgMusic.ogg",type:Laya.Loader.SOUND});
loadMusic.push({url:Config.strHeadResHuaWei + "Audios/bigCrush.wav",type:Laya.Loader.SOUND});
loadMusic.push({url:Config.strHeadResHuaWei + "Audios/gameFail.ogg",type:Laya.Loader.SOUND});
loadMusic.push({url:Config.strHeadResHuaWei + "Audios/gameWin.mp3",type:Laya.Loader.SOUND});
loadMusic.push({url:Config.strHeadResHuaWei + "Audios/playerJump.wav",type:Laya.Loader.SOUND});
loadMusic.push({url:Config.strHeadResHuaWei + "Audios/smallCrush.wav",type:Laya.Loader.SOUND});

var parseFileArr = []
if(Config.channelID == 1){
    parseFileArr.push({url:"LayaScene_wx/wx.ls",type:Laya.Scene});
}else if(Config.channelID == 101){

     parseFileArr.push({url:Config.oppofileDownUrl + "LayaScene_game/game.ls",type:Laya.Scene});

}else{
        parseFileArr.push({url:Config.strHeadResHuaWei + "LayaScene_game/game.ls",type:Laya.Scene});
}


// var AssetsFileArr = [
//     //图集
//     {url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "res/atlas/game.atlas",type:Laya.Loader.ATLAS},
//     {url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "res/atlas/common.atlas",type:Laya.Loader.ATLAS},
//     {url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "res/atlas/rank.atlas",type:Laya.Loader.ATLAS},
//     {url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "res/atlas/ads.atlas",type:Laya.Loader.ATLAS},
//     {url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "ani/finger.ani",type:Laya.Loader.JSON},
//     {url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "ani/loading.ani",type:Laya.Loader.JSON},
// ];

// var loadFile = [
//     {url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "res/atlas/loading.atlas",type:Laya.Loader.ATLAS},
//     {url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "res/atlas/dlg.atlas",type:Laya.Loader.ATLAS},
//     // {url:"fonts/mini.ttf",type:Laya.Loader.ATLAS},
// ];
// // if(Config.channelID == 101){
// //     loadFile.push({url:"res/atlas/channel.atlas",type:Laya.Loader.ATLAS});
// // }

// var loadMusic = []
// loadMusic.push({url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "Audios/bgMusic.ogg",type:Laya.Loader.SOUND});
// loadMusic.push({url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "Audios/bigCrush.wav",type:Laya.Loader.SOUND});
// loadMusic.push({url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "Audios/gameFail.ogg",type:Laya.Loader.SOUND});
// loadMusic.push({url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "Audios/gameWin.mp3",type:Laya.Loader.SOUND});
// loadMusic.push({url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "Audios/playerJump.wav",type:Laya.Loader.SOUND});
// loadMusic.push({url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "Audios/smallCrush.wav",type:Laya.Loader.SOUND});

// var parseFileArr = []
// if(Config.channelID == 1){
//     parseFileArr.push({url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "LayaScene_wx/wx.ls",type:Laya.Scene});
// }else{
//     parseFileArr.push({url:hbs.env.USER_DATA_PATH + window.Config.fileDir + "LayaScene_game/game.ls",type:Laya.Scene});
// }
